// 定义接口响应类型
interface Character {
  id: string;
  name: string;
}

interface ApiResponseData {
  message: string;
  data: Character[];
}

interface ApiResponse {
  code: number;
  message: string;
  data: ApiResponseData;
}